package com.tianji.learning.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminNotesVO {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("课程名称")
    private String courseName;
    @ApiModelProperty("是否是隐藏笔记")
    private Boolean hidden;
    @ApiModelProperty("笔记内容")
    private String content;
    @ApiModelProperty("笔记作者用户名")
    private String authorName;
    @ApiModelProperty("章名称")
    private String chapterName;
    @ApiModelProperty("节名称")
    private String sectionName;
    @ApiModelProperty(value = "笔记发布时间", example = "2022-7-18 19:52:36")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "用于管理端显示笔记被采纳次数", example = "10")
    private Integer usedTimes;
}
